package cn.xxmi.mybatis.mapper;

import cn.xxmi.mybatis.model.SysRole;

import java.util.List;

public interface RoleMapper {

    SysRole selectById(Long id);

    SysRole queryRolePrivilege(Long id);

    List<SysRole> queryRoleByUserId(Long userId);

    List<SysRole> selectRoleByUserIdChoose(Long userId);
}
